package com.blazer.b;

public class arrayfor {
    public static void main(String[] args) {
        int[] arr={1,2,3,4,5,6};
        for (int i =0;i<arr.length;i++){
            System.out.println(arr[i]);
        }
        int[] newarr=new int[arr.length];
        for (int j=0;j<newarr.length;j++){
            newarr[j]=arr[j];
            System.out.println(newarr[j]);
        }


    }
}
